<template>
  <el-image :src="src" class="img-container">
    <template #error>
      <img src="../../assets/common/head.jpg" alt="">
    </template>
  </el-image>
</template>

<script>
export default {
  props: {
    src: {
      type: String,
      default: ''
    }
  }
}
</script>

<style>
.el-image{
    width: 88px;
    height: 88px;
    border-radius: 50%;
}
</style>
